home *** CD-ROM | disk | FTP | other *** search
- ColorSetForm
- Color Settings
- Form1,
- FGText
- FGScrl
- BGText
- BGScrl
- Apply
- Apply
- FGText
- FGScrl
- ColorSetText
- BGText
- BGScrl
- ColorSetText
- Cancel
- Cancel
- FGText
- FGScrl
- BGText
- BGScrl
- Form_Click
- Form_ResizeI
- P1BGScrl{
- Visible
- Value]
- ForeColorS
- P1FGScrl
- BackColor
- P1BGScrl_Change
- Index
- P1BGText
- P1BG'
- P1FGScrl_Change
- P1FGText
- FGScrl_Change
- BGScrl_Change
- BGScrl
- FGScrl
- Command1_Click
- Apply_Click
- DefaultFG
- DefaultBG
- Cancel_Click
- FGText
- BGText
- GetBValue
- GetRValue
- GetGValue
- GetSysColor
- nIndex
- FormLoading
- FormInit
- False
- -- indicates that the form is initialized, used in Form_Resize
- see the BGScrl_Change (or FGScrl_Change) events for the reason this is needed
- Form_Resize
- -- save default values in case Cancel is selectedu
- -- make sure the colors are not system colorss
- this is necessary for extracting the proper R,G,& B
- values for the scrollbars
- -- it's a system color, so get the proper RGB value
- -- it's a system color, so get the proper RGB value
- -- set up the default values for the scrollbarss
- from the colors of the f/g & b/g picture boxes
- -- set scroll value to current BG colorl
- -- set scroll value to current FG color
- FGScrl_Change
- -- Index has a range from 0 to 2
- -- if the form is initializing (in the Resize event), don't change the
- backcolor because otherwise we'll only get the first value (Red) correctt
- the reason for this is the first time this is called, we just set the
- 0th Scrl value, values 1 and 2 haven't been set, but when we executee
- the next statement, it'll reset the BackColor which the Form_Resize event
- uses to set the Scrl values themselves!
- BGScrl_Change
- -- Index has a range from 0 to 2
- -- if the form is initializing (in the Resize event), don't change the
- backcolor because otherwise we'll only get the first value (Red) correctt
- the reason for this is the first time this is called, we just set the
- 0th Scrl value, values 1 and 2 haven't been set, but when we executee
- the next statement, it'll reset the BackColor which the Form_Resize event
- uses to set the Scrl values themselves!
- Apply_Click
- Cancel_Click
-